
/* 导入核心库 */
import { library } from '@fortawesome/fontawesome-svg-core'

/* 导入图标组件 显示图标 */
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'

/* 导入图库 */
// fa-arrow-down-short-wide
import { faUserSecret, faHouse, faArrowDownShortWide, faShop, faCartShopping } from '@fortawesome/free-solid-svg-icons'
import { faUser } from '@fortawesome/free-regular-svg-icons'

/* 添加图表 */
library.add(faUserSecret)
library.add(faShop)
library.add(faCartShopping)
library.add(faArrowDownShortWide)
library.add(faHouse)
library.add(faUser)


export default {
  install(Vue) {
    // 组成图标组件
    Vue.component('FontAwesomeIcon', FontAwesomeIcon)
  }
}